#include <iostream>
#include <iomanip>

using namespace std;

int main(){
    double ferenhait_temp =0;
    double celsius_temp = 0;

    cin>>celsius_temp;
    ferenhait_temp = (9.0/5.0)*celsius_temp +32;
    
    cout<<setprecision(2)<<fixed<<ferenhait_temp;
    return 0;
}